<%@page import="java.util.Hashtable"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    Hashtable myCart = (Hashtable)session.getAttribute("cart");
    if(myCart == null) {
        session.setAttribute("countItems", 0);
    } else {
        int size = myCart.size();
        session.setAttribute("countItems", size);
    }
%>
<div class="col1">
    <div class="indent">
    <strong>Shopping Cart:</strong>&nbsp;&nbsp;
    <a href="index.jsp?cmd=viewCart">${sessionScope['countItems']} items</a><br>
    </div>
  </div>
  <div class="col2">
    <div class="indent">
      <table style="width: auto;">
        <tbody><tr>
          <td style="width: 71px;">Languages:<br>
          </td>
          <td>
                    <a href="#">
                    <img src="../images/style/icon.gif" alt="English" title=" English " style="vertical-align: middle;" width="24" height="15"></a>
          </td>
        </tr>
      </tbody></table>
    </div>
  </div>
  <div class="col3">
    <div class="indent">
      <table style="width: auto;">
        <tbody><tr>
          <td style="width: 75px;"><img src="../images/style/pixel_trans.gif" alt="" width="1" height="4"><br>
            Currencies:<br>
          </td>
          <td>
                    <form name="currencies" action="#" method="get">
                             <select name="currency" class="select" onchange="this.form.submit();">
                                  <option value="USD" selected="selected">USD</option>
                            </select>
                            <input name="main_page" value="index" type="hidden">
                    </form>
          </td>
        </tr>
      </tbody></table>
    </div>
  </div>
<div class="clear"></div>